import { axios } from '@/utils/request'

const api = {
  ocrInfo: '/store/ocr-setting',
}

export default api

export function ocrInfo (parameter) {
  return axios({
    url: api.ocrInfo,
    method: 'get',
    params: parameter
  })
}

export function orcSub (parameter) {
  return axios({
    url: api.ocrInfo,
    method: 'post',
    data: parameter
  })
}
